﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C85 RID: 3205
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NpcRogueGameInfo : IMessage<NpcRogueGameInfo>, IMessage, IEquatable<NpcRogueGameInfo>, IDeepCloneable<NpcRogueGameInfo>, IBufferMessage
	{
		// Token: 0x1700285D RID: 10333
		// (get) Token: 0x06008F48 RID: 36680 RVA: 0x0017CB0F File Offset: 0x0017AD0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NpcRogueGameInfo> Parser
		{
			get
			{
				return NpcRogueGameInfo._parser;
			}
		}

		// Token: 0x1700285E RID: 10334
		// (get) Token: 0x06008F49 RID: 36681 RVA: 0x0017CB16 File Offset: 0x0017AD16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NpcRogueGameInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700285F RID: 10335
		// (get) Token: 0x06008F4A RID: 36682 RVA: 0x0017CB28 File Offset: 0x0017AD28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NpcRogueGameInfo.Descriptor;
			}
		}

		// Token: 0x06008F4B RID: 36683 RVA: 0x0017CB2F File Offset: 0x0017AD2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcRogueGameInfo()
		{
		}

		// Token: 0x06008F4C RID: 36684 RVA: 0x0017CB50 File Offset: 0x0017AD50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcRogueGameInfo(NpcRogueGameInfo other) : this()
		{
			this.dialogueEventParamList_ = other.dialogueEventParamList_.Clone();
			this.mCBMJHNOFNO_ = other.mCBMJHNOFNO_;
			this.talkDialogueId_ = other.talkDialogueId_;
			this.aeonTalkId_ = other.aeonTalkId_;
			this.eventUniqueId_ = other.eventUniqueId_;
			this.finishDialogue_ = other.finishDialogue_;
			this.mIDPEPGGJEL_ = other.mIDPEPGGJEL_.Clone();
			this.fBCHHJJAMLH_ = other.fBCHHJJAMLH_;
			this.kOHLPIKLABA_ = other.kOHLPIKLABA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008F4D RID: 36685 RVA: 0x0017CBEA File Offset: 0x0017ADEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcRogueGameInfo Clone()
		{
			return new NpcRogueGameInfo(this);
		}

		// Token: 0x17002860 RID: 10336
		// (get) Token: 0x06008F4E RID: 36686 RVA: 0x0017CBF2 File Offset: 0x0017ADF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<NpcDialogueEventParam> DialogueEventParamList
		{
			get
			{
				return this.dialogueEventParamList_;
			}
		}

		// Token: 0x17002861 RID: 10337
		// (get) Token: 0x06008F4F RID: 36687 RVA: 0x0017CBFA File Offset: 0x0017ADFA
		// (set) Token: 0x06008F50 RID: 36688 RVA: 0x0017CC02 File Offset: 0x0017AE02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool MCBMJHNOFNO
		{
			get
			{
				return this.mCBMJHNOFNO_;
			}
			set
			{
				this.mCBMJHNOFNO_ = value;
			}
		}

		// Token: 0x17002862 RID: 10338
		// (get) Token: 0x06008F51 RID: 36689 RVA: 0x0017CC0B File Offset: 0x0017AE0B
		// (set) Token: 0x06008F52 RID: 36690 RVA: 0x0017CC13 File Offset: 0x0017AE13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TalkDialogueId
		{
			get
			{
				return this.talkDialogueId_;
			}
			set
			{
				this.talkDialogueId_ = value;
			}
		}

		// Token: 0x17002863 RID: 10339
		// (get) Token: 0x06008F53 RID: 36691 RVA: 0x0017CC1C File Offset: 0x0017AE1C
		// (set) Token: 0x06008F54 RID: 36692 RVA: 0x0017CC24 File Offset: 0x0017AE24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AeonTalkId
		{
			get
			{
				return this.aeonTalkId_;
			}
			set
			{
				this.aeonTalkId_ = value;
			}
		}

		// Token: 0x17002864 RID: 10340
		// (get) Token: 0x06008F55 RID: 36693 RVA: 0x0017CC2D File Offset: 0x0017AE2D
		// (set) Token: 0x06008F56 RID: 36694 RVA: 0x0017CC35 File Offset: 0x0017AE35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventUniqueId
		{
			get
			{
				return this.eventUniqueId_;
			}
			set
			{
				this.eventUniqueId_ = value;
			}
		}

		// Token: 0x17002865 RID: 10341
		// (get) Token: 0x06008F57 RID: 36695 RVA: 0x0017CC3E File Offset: 0x0017AE3E
		// (set) Token: 0x06008F58 RID: 36696 RVA: 0x0017CC46 File Offset: 0x0017AE46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FinishDialogue
		{
			get
			{
				return this.finishDialogue_;
			}
			set
			{
				this.finishDialogue_ = value;
			}
		}

		// Token: 0x17002866 RID: 10342
		// (get) Token: 0x06008F59 RID: 36697 RVA: 0x0017CC4F File Offset: 0x0017AE4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MapField<uint, uint> MIDPEPGGJEL
		{
			get
			{
				return this.mIDPEPGGJEL_;
			}
		}

		// Token: 0x17002867 RID: 10343
		// (get) Token: 0x06008F5A RID: 36698 RVA: 0x0017CC57 File Offset: 0x0017AE57
		// (set) Token: 0x06008F5B RID: 36699 RVA: 0x0017CC5F File Offset: 0x0017AE5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FBCHHJJAMLH
		{
			get
			{
				return this.fBCHHJJAMLH_;
			}
			set
			{
				this.fBCHHJJAMLH_ = value;
			}
		}

		// Token: 0x17002868 RID: 10344
		// (get) Token: 0x06008F5C RID: 36700 RVA: 0x0017CC68 File Offset: 0x0017AE68
		// (set) Token: 0x06008F5D RID: 36701 RVA: 0x0017CC70 File Offset: 0x0017AE70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KOHLPIKLABA
		{
			get
			{
				return this.kOHLPIKLABA_;
			}
			set
			{
				this.kOHLPIKLABA_ = value;
			}
		}

		// Token: 0x06008F5E RID: 36702 RVA: 0x0017CC79 File Offset: 0x0017AE79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NpcRogueGameInfo);
		}

		// Token: 0x06008F5F RID: 36703 RVA: 0x0017CC88 File Offset: 0x0017AE88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NpcRogueGameInfo other)
		{
			return other != null && (other == this || (this.dialogueEventParamList_.Equals(other.dialogueEventParamList_) && this.MCBMJHNOFNO == other.MCBMJHNOFNO && this.TalkDialogueId == other.TalkDialogueId && this.AeonTalkId == other.AeonTalkId && this.EventUniqueId == other.EventUniqueId && this.FinishDialogue == other.FinishDialogue && this.MIDPEPGGJEL.Equals(other.MIDPEPGGJEL) && this.FBCHHJJAMLH == other.FBCHHJJAMLH && this.KOHLPIKLABA == other.KOHLPIKLABA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008F60 RID: 36704 RVA: 0x0017CD4C File Offset: 0x0017AF4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.dialogueEventParamList_.GetHashCode();
			if (this.MCBMJHNOFNO)
			{
				num ^= this.MCBMJHNOFNO.GetHashCode();
			}
			if (this.TalkDialogueId != 0U)
			{
				num ^= this.TalkDialogueId.GetHashCode();
			}
			if (this.AeonTalkId != 0U)
			{
				num ^= this.AeonTalkId.GetHashCode();
			}
			if (this.EventUniqueId != 0U)
			{
				num ^= this.EventUniqueId.GetHashCode();
			}
			if (this.FinishDialogue)
			{
				num ^= this.FinishDialogue.GetHashCode();
			}
			num ^= this.MIDPEPGGJEL.GetHashCode();
			if (this.FBCHHJJAMLH)
			{
				num ^= this.FBCHHJJAMLH.GetHashCode();
			}
			if (this.KOHLPIKLABA != 0U)
			{
				num ^= this.KOHLPIKLABA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008F61 RID: 36705 RVA: 0x0017CE3D File Offset: 0x0017B03D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008F62 RID: 36706 RVA: 0x0017CE45 File Offset: 0x0017B045
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008F63 RID: 36707 RVA: 0x0017CE50 File Offset: 0x0017B050
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.mIDPEPGGJEL_.WriteTo(ref output, NpcRogueGameInfo._map_mIDPEPGGJEL_codec);
			if (this.MCBMJHNOFNO)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.MCBMJHNOFNO);
			}
			this.dialogueEventParamList_.WriteTo(ref output, NpcRogueGameInfo._repeated_dialogueEventParamList_codec);
			if (this.EventUniqueId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.EventUniqueId);
			}
			if (this.FBCHHJJAMLH)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.FBCHHJJAMLH);
			}
			if (this.FinishDialogue)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.FinishDialogue);
			}
			if (this.TalkDialogueId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.TalkDialogueId);
			}
			if (this.KOHLPIKLABA != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.KOHLPIKLABA);
			}
			if (this.AeonTalkId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.AeonTalkId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008F64 RID: 36708 RVA: 0x0017CF58 File Offset: 0x0017B158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.dialogueEventParamList_.CalculateSize(NpcRogueGameInfo._repeated_dialogueEventParamList_codec);
			if (this.MCBMJHNOFNO)
			{
				num += 2;
			}
			if (this.TalkDialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TalkDialogueId);
			}
			if (this.AeonTalkId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AeonTalkId);
			}
			if (this.EventUniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventUniqueId);
			}
			if (this.FinishDialogue)
			{
				num += 2;
			}
			num += this.mIDPEPGGJEL_.CalculateSize(NpcRogueGameInfo._map_mIDPEPGGJEL_codec);
			if (this.FBCHHJJAMLH)
			{
				num += 2;
			}
			if (this.KOHLPIKLABA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KOHLPIKLABA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008F65 RID: 36709 RVA: 0x0017D028 File Offset: 0x0017B228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NpcRogueGameInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.dialogueEventParamList_.Add(other.dialogueEventParamList_);
			if (other.MCBMJHNOFNO)
			{
				this.MCBMJHNOFNO = other.MCBMJHNOFNO;
			}
			if (other.TalkDialogueId != 0U)
			{
				this.TalkDialogueId = other.TalkDialogueId;
			}
			if (other.AeonTalkId != 0U)
			{
				this.AeonTalkId = other.AeonTalkId;
			}
			if (other.EventUniqueId != 0U)
			{
				this.EventUniqueId = other.EventUniqueId;
			}
			if (other.FinishDialogue)
			{
				this.FinishDialogue = other.FinishDialogue;
			}
			this.mIDPEPGGJEL_.MergeFrom(other.mIDPEPGGJEL_);
			if (other.FBCHHJJAMLH)
			{
				this.FBCHHJJAMLH = other.FBCHHJJAMLH;
			}
			if (other.KOHLPIKLABA != 0U)
			{
				this.KOHLPIKLABA = other.KOHLPIKLABA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008F66 RID: 36710 RVA: 0x0017D0FE File Offset: 0x0017B2FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008F67 RID: 36711 RVA: 0x0017D108 File Offset: 0x0017B308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num <= 16U)
					{
						if (num == 10U)
						{
							this.mIDPEPGGJEL_.AddEntriesFrom(ref input, NpcRogueGameInfo._map_mIDPEPGGJEL_codec);
							continue;
						}
						if (num == 16U)
						{
							this.MCBMJHNOFNO = input.ReadBool();
							continue;
						}
					}
					else
					{
						if (num == 42U)
						{
							this.dialogueEventParamList_.AddEntriesFrom(ref input, NpcRogueGameInfo._repeated_dialogueEventParamList_codec);
							continue;
						}
						if (num == 64U)
						{
							this.EventUniqueId = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 88U)
				{
					if (num == 80U)
					{
						this.FBCHHJJAMLH = input.ReadBool();
						continue;
					}
					if (num == 88U)
					{
						this.FinishDialogue = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.TalkDialogueId = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.KOHLPIKLABA = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.AeonTalkId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040036A5 RID: 13989
		private static readonly MessageParser<NpcRogueGameInfo> _parser = new MessageParser<NpcRogueGameInfo>(() => new NpcRogueGameInfo());

		// Token: 0x040036A6 RID: 13990
		private UnknownFieldSet _unknownFields;

		// Token: 0x040036A7 RID: 13991
		public const int DialogueEventParamListFieldNumber = 5;

		// Token: 0x040036A8 RID: 13992
		private static readonly FieldCodec<NpcDialogueEventParam> _repeated_dialogueEventParamList_codec = FieldCodec.ForMessage<NpcDialogueEventParam>(42U, NpcDialogueEventParam.Parser);

		// Token: 0x040036A9 RID: 13993
		private readonly RepeatedField<NpcDialogueEventParam> dialogueEventParamList_ = new RepeatedField<NpcDialogueEventParam>();

		// Token: 0x040036AA RID: 13994
		public const int MCBMJHNOFNOFieldNumber = 2;

		// Token: 0x040036AB RID: 13995
		private bool mCBMJHNOFNO_;

		// Token: 0x040036AC RID: 13996
		public const int TalkDialogueIdFieldNumber = 12;

		// Token: 0x040036AD RID: 13997
		private uint talkDialogueId_;

		// Token: 0x040036AE RID: 13998
		public const int AeonTalkIdFieldNumber = 14;

		// Token: 0x040036AF RID: 13999
		private uint aeonTalkId_;

		// Token: 0x040036B0 RID: 14000
		public const int EventUniqueIdFieldNumber = 8;

		// Token: 0x040036B1 RID: 14001
		private uint eventUniqueId_;

		// Token: 0x040036B2 RID: 14002
		public const int FinishDialogueFieldNumber = 11;

		// Token: 0x040036B3 RID: 14003
		private bool finishDialogue_;

		// Token: 0x040036B4 RID: 14004
		public const int MIDPEPGGJELFieldNumber = 1;

		// Token: 0x040036B5 RID: 14005
		private static readonly MapField<uint, uint>.Codec _map_mIDPEPGGJEL_codec = new MapField<uint, uint>.Codec(FieldCodec.ForUInt32(8U, 0U), FieldCodec.ForUInt32(16U, 0U), 10U);

		// Token: 0x040036B6 RID: 14006
		private readonly MapField<uint, uint> mIDPEPGGJEL_ = new MapField<uint, uint>();

		// Token: 0x040036B7 RID: 14007
		public const int FBCHHJJAMLHFieldNumber = 10;

		// Token: 0x040036B8 RID: 14008
		private bool fBCHHJJAMLH_;

		// Token: 0x040036B9 RID: 14009
		public const int KOHLPIKLABAFieldNumber = 13;

		// Token: 0x040036BA RID: 14010
		private uint kOHLPIKLABA_;
	}
}
